package com.juyu.miliao.api.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @ClassName: BuyLimit
 * @Description: TODO
 * @Author zhangcheng
 * @Date 19-9-12下午2:58
 */
@Data
public class BuyLimit {
    private Long id;
    /**
     * 获取寻豆
     */
    private Long beans;
    /**
     * 获取能量
     */
    private Long energy;
    /**
     * 原价
     */
    private BigDecimal price;
    /**
     * 折扣价
     */
    private BigDecimal discountPrice;
    /**
     * 是否显示
     */
    @JsonIgnore
    private Integer state;
    /**
     * 购买数量
     */
    @JsonIgnore
    private Long boughtNum;
    /**
     * 开始时间
     */
    @JsonIgnore
    private LocalDateTime startTime;
    /**
     * 结束时间
     */
    @JsonIgnore
    private LocalDateTime endTime;
    @JsonIgnore
    private LocalDateTime createTime;
    private Long remainingTime;
}
